<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>PACS Online</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <link rel="stylesheet" href="../static/css/base.css">
</head>
<body>
    <div id="app">
        <div class="row" align="center">
            <div class="col-xs-12 nav_container" >
                    <div style="color: black;height:2.5rem;margin-top: 1rem;text-align: center;padding-top: 0rem;font-size: 2rem">PACS Online</div>
            </div>
        </div>
        <div class="divline_small"></div>
        <div  style="margin-top: 8rem;font-size: 3rem;text-align: center">

            <p style="margin-left: 2rem;margin-right: 2rem;">陕西省肿瘤医院</p>
            <p style="margin-left: 2rem;margin-right: 2rem">电子胶片</p>
            <div class="row" style="margin-top: 9rem">
                <button @click="changeLoginByName"  :class="type == 1 ? 'round_choose' : 'round' " style="width: 30%;font-size: 1.5rem;">身份证登录</button>
                <button @click="changeLoginByPhone" :class="type == 2 ? 'round_choose' : 'round' " style="width: 30%;font-size: 1.5rem;margin-left: -0.5rem">手机号登录</button>
            </div>
            <div style="margin-top: 0.5rem">
                <div class="input-group " style="margin-left: 10%;width: 80%;margin-top: 1rem">
                    <span class="input-group-addon input_primary" v-text="prompt.usernamePrompt + ':'"></span>
                    <input type="text" class="form-control" :placeholder="'请输入' + prompt.usernamePrompt" v-model="username">
                </div>
                <div class="input-group" style="margin-left: 10%;width: 80%;margin-top: 1rem">
                    <span class="input-group-addon input_primary" v-text="prompt.passwordPrompt+':'"></span>
                    <input type="text" class="form-control" :placeholder="'请输入' + prompt.passwordPrompt" v-model="password">
                    <span class="input-group-addon" @click="sendCode" v-text="codePrompt" v-if="type == 2">发送验证码</span>

                </div>

                <!--<div class="input-group" style="margin-left: 10%;width: 80%;margin-top: 1rem" v-if="type == 2">-->
                    <!--<span class="input-group-addon input_primary">验证码:</span>-->
                    <!--<input type="text" class="form-control" placeholder="请输入验证码" v-model="password">-->
                <!--</div>-->
            </div>
            <!--<div style="margin-left: 10%;margin-top:5rem;width: 80%" >-->
                <!--<div class="form-horizontal">-->
                    <!--身份证号:-->
                  <!--<input  class="form-control" v-model="username"        placeholder="报告名称" style="margin-top: 1rem;">-->

                <!--</div>-->
                <!--<input  class="form-control" v-model="password"        placeholder="报告名称" style="margin-top: 1rem;">-->

            <!--</div>-->
        </div>
        <div align="right" width="100%" style="width: 100%;padding-right: 10%">
            <button @click="check" class="round_choose" style="margin-top: 1rem;font-size: 1.7rem;padding-right: 2rem;padding-left: 2rem">登录</button>
        </div>

    </div>
    <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js " integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa " crossorigin="anonymous "></script>
    <script src="../static/js/base/vue.min.js"></script>
    <script src="../static/js/base/util.js"></script>
    <script src="../static/js/base/url.js"></script>
    <script src="../static/js/base/base_net.js"></script>
    <script src="../static/js/login.js"></script>
</body>
<style scoped>

    .body {
        background: white;
    }
    .input_primary{
        width: 6rem;
        text-align:right;
        background: #337ab7;
        color: white
    }
    .round {
        background: white;
        border: 1px solid grey;
        -moz-border-radius: 5px;
        /* Gecko browsers */
        -webkit-border-radius: 5px;
        /* Webkit browsers */
        border-radius:5px;
        color:#337ab7;
        /* W3C syntax */}
    .round_choose{
        color:white;
        background: #337ab7;
        border: 1px solid #337ab7;
        -moz-border-radius: 5px;
        /* Gecko browsers */
        -webkit-border-radius: 5px;
        /* Webkit browsers */
        border-radius:5px;
        /* W3C syntax */}
.form-bg{
    background: #00b4ef;
}
.form-horizontal{
    background: #fff;
    padding-bottom: 40px;
    border-radius: 15px;
    text-align: center;
}
.form-horizontal .heading{
    display: block;
    font-size: 35px;
    font-weight: 700;
    padding: 35px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 30px;
}
.form-horizontal .form-group{
    padding: 0 40px;
    margin: 0 0 25px 0;
    position: relative;
}
.form-horizontal .form-control{
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    box-shadow: none;
    padding: 0 20px 0 45px;
    height: 40px;
    transition: all 0.3s ease 0s;
}
.form-horizontal .form-control:focus{
    background: #e0e0e0;
    box-shadow: none;
    outline: 0 none;
}
.form-horizontal .form-group i{
    position: absolute;
    top: 12px;
    left: 60px;
    font-size: 17px;
    color: #c8c8c8;
    transition : all 0.5s ease 0s;
}
.form-horizontal .form-control:focus + i{
    color: #00b4ef;
}
.form-horizontal .fa-question-circle{
    display: inline-block;
    position: absolute;
    top: 12px;
    right: 60px;
    font-size: 20px;
    color: #808080;
    transition: all 0.5s ease 0s;
}
.form-horizontal .fa-question-circle:hover{
    color: #000;
}
.form-horizontal .main-checkbox{
    float: left;
    width: 20px;
    height: 20px;
    background: #11a3fc;
    border-radius: 50%;
    position: relative;
    margin: 5px 0 0 5px;
    border: 1px solid #11a3fc;
}
.form-horizontal .main-checkbox label{
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}
.form-horizontal .main-checkbox label:after{
    content: "";
    width: 10px;
    height: 5px;
    position: absolute;
    top: 5px;
    left: 4px;
    border: 3px solid #fff;
    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.form-horizontal .main-checkbox input[type=checkbox]{
    visibility: hidden;
}
.form-horizontal .main-checkbox input[type=checkbox]:checked + label:after{
    opacity: 1;
}
.form-horizontal .text{
    float: left;
    margin-left: 7px;
    line-height: 20px;
    padding-top: 5px;
    text-transform: capitalize;
}
.form-horizontal .btn{    
    font-size: 14px;
    color: #fff;
    background: #00b4ef;
    border-radius: 30px;
    padding: 10px 25px;
    border: none;
    text-transform: capitalize;
    transition: all 0.5s ease 0s;
}
@media only screen and (max-width: 479px){
    .form-horizontal .form-group{
        padding: 0 25px;
    }
    .form-horizontal .form-group i{
        left: 45px;
    }
    .form-horizontal .btn{
        padding: 10px 20px;
    }
}
</style>
</html>